class ActivityDetailEntity {
	int errno;
	ActivityDetailData data;
	String errmsg;

	ActivityDetailEntity({this.errno, this.data, this.errmsg});

	ActivityDetailEntity.fromJson(Map<String, dynamic> json) {
		errno = json['errno'];
		data = json['data'] != null ? new ActivityDetailData.fromJson(json['data']) : null;
		errmsg = json['errmsg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['errno'] = this.errno;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['errmsg'] = this.errmsg;
		return data;
	}
}

class ActivityDetailData {
	ActivityDetailDataActivity activity;

	ActivityDetailData({this.activity});

	ActivityDetailData.fromJson(Map<String, dynamic> json) {
		activity = json['activity'] != null ? new ActivityDetailDataActivity.fromJson(json['activity']) : null;
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.activity != null) {
      data['activity'] = this.activity.toJson();
    }
		return data;
	}
}

class ActivityDetailDataActivity {
	List<String> urls;
	String name;
	String description;
	int id;
	String url;
	double realPrice;

	ActivityDetailDataActivity({this.urls, this.name, this.description, this.id, this.url, this.realPrice});

	ActivityDetailDataActivity.fromJson(Map<String, dynamic> json) {
		urls = json['urls']?.cast<String>();
		name = json['name'];
		description = json['description'];
		id = json['id'];
		url = json['url'];
		realPrice = json['realPrice'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['urls'] = this.urls;
		data['name'] = this.name;
		data['description'] = this.description;
		data['id'] = this.id;
		data['url'] = this.url;
		data['realPrice'] = this.realPrice;
		return data;
	}
}
